﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Hook.Environmental.Props
{
    class Box : Prop
    {
        public Box(Vector3 Position, Vector3 Rotation)
            : base()
        {
            List<Vector3> VO = new List<Vector3>();
            for(double a = 0; a < 2 * Math.PI; a += 2 * Math.PI / 4)
            {
                VO.Add(new Vector3((float)(75 * Math.Cos(a)), (float)(75 * Math.Sin(a)), 0));
            }
            SetPosition(Position);
            SetRotation(Rotation);

            Frame.SetPoints(VO);
        }
    }
}
